﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SWENAssignment.Sophia
{
    public partial class addRoomReservationSuccessfully : System.Web.UI.Page
    {
        string roomNum;
        string reservationID;
        protected void Page_Load(object sender, EventArgs e)
        {
            roomNum = Request.QueryString["roomNum"];
            reservationID = Request.QueryString["roomReservation"];
        }

        protected void btnBackToMainPage_Click(object sender, EventArgs e)
        {
            // main page

            string querystring = "roomNum=" + roomNum + "&roomReservation=" + reservationID;
            Server.Transfer("~/Sophia/retrieveRoomReservation.aspx?" + querystring);
        }
    }
}